package file.a04;

import java.io.*;
//转换流
public class BufferStreanReaderTest {
    public static void main(String[] args) throws IOException {
        FileInputStream fis=new FileInputStream("IO-DEMO.iml");
        //将字节输入流转换为字符输入流
        InputStreamReader isr=new InputStreamReader(fis);
        BufferedReader bis=new BufferedReader(isr);
        String line=null;
        while((line=bis.readLine())!=null){
            System.out.println(line);
        }
        bis.close();
    }
}
